package com.tuoyu.peopletest.entity.message;


import android.app.Activity;


/**
 * 事件总线EventBus
 * 数据传递实体类
 * 前后台变化监听
 */
public class ForegroundMessageEvent {

    /**
     * app前后台切换
     */
    public boolean isAppForeground;
    public Activity ac;

    public ForegroundMessageEvent setAppStatusChnage(boolean isAppForeground, Activity ac) {
        this.isAppForeground = isAppForeground;
        this.ac = ac;
        return this;
    }
}
